package cn.yitun.chat.yitunservercommonlib.enums.control.push.remote;

import cn.yitun.chat.yitunservercommonlib.constant.ActionTypeConstant;

/**
 * 远程推送
 * @author yitun
 * @date 2020-06-21
 */
public enum RemotePushMethodEnum {

    RECEIVED_REMOTE_ADDRESS("1.2.0002",  "服务器收到客户端后", ActionTypeConstant.REMOTE_ACTION_PUSH),

    REQUEST_REMOTE_CONTROL("1.2.0004",  "向远程控制器发请求", ActionTypeConstant.REMOTE_ACTION_PUSH),

    RESPONSE_REMOTE_CONTROL("1.2.0005",  "向远程控制器发响应", ActionTypeConstant.REMOTE_ACTION_PUSH),

    REQUEST_REMOTE_ASSIST("1.2.0006",  "向远程助理发请求", ActionTypeConstant.REMOTE_ACTION_PUSH),

    RESPONSE_REMOTE_ASSIST("1.2.0007",  "向远程助理发响应", ActionTypeConstant.REMOTE_ACTION_PUSH),

    RELEASE_REMOTE_CONTROL("1.2.0008",  "解除远程连接", ActionTypeConstant.REMOTE_ACTION_PUSH),

    ;




    private String method;

    private String action;

    private String name;

    RemotePushMethodEnum(String method , String msgString, String action) {
        this.method = method;
        this.name = msgString;
        this.action = action;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
